@import "~scss/variables";

.sw-app-actions {
    margin-right: 8px;

    &__empty {
        margin: 0;
    }

    .sw-app-actions__action-button .mt-button {
        padding: 11px;

        .mt-icon {
            color: $color-menu-start;
        }
    }
}

.sw-modal {
    &.sw-modal-app-action-button {
        &.is-expanded {
            .sw-modal__dialog {
                height: 100%;
            }
        }

        .sw-modal__body {
            height: 100%;
            padding: 0;
            overflow: hidden;
        }

        .sw-modal__title {
            grid-template-columns: 30px auto;
            align-items: center;
            justify-items: stretch;
            justify-content: stretch;
            grid-gap: 12px;

            .sw-app-action-button__icon {
                width: 30px;
                height: 30px;
                border: none;
                vertical-align: middle;
            }
        }

        .sw-app-action-button-iframe {
            width: 100%;
            height: 100%;
            border: none;
        }
    }

    &.sw-app-action-button-modal-confirm {
        .sw-modal__footer {
            justify-content: space-between;
            grid-auto-columns: inherit;

            .sw-field--checkbox {
                margin-bottom: 0;
            }
        }
    }
}
